<template>
	<view class="content" style="background-color: #fff;height: 100vh;">
		<u-navbar bgColor="#fff" scrollable=false titleStyle="font-size:40rpx" :placeholder='true'
			:title="type==1?'提现结果':'充值结果'" :autoBack="true">
		</u-navbar>
		<view class="center">
			<image src="/static/images/mine/image 47.png" style="width: 320rpx;height: 280rpx;margin-top: 120rpx;"
				mode=""></image>
			<view class="fw5 fontS28 co3">
				{{type==1?'提现成功':'充值成功'}}
			</view>
			<view class="co9 fontS28 fw5" style="margin-top: 20rpx;">
				{{type==1?'提现金额将于两小时左右到账':''}}
			</view>
		</view>

		<u-button class="fontS28 fw5 redbtn" @click="$my.go('/pages/my/wallet/index')"
			customStyle="margin-top:180rpx; width:210rpx;color:#DD2131;border:2rpx solid #DD2131;" text="完成">
		</u-button>

	</view>
</template>
<script>
	export default {
		data() {
			return {
				type: '',
			}
		},
		methods: {

		},
		onLoad(option) {
			console.log(option.type, '........');
			if (option.type == 1) {
				this.type = option.type
			} else if (option.type == 2) {
				this.type == option.type
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content {}
</style>
